import request from '@/utils/request'
// data:{mobil password }
export function login (data) {
  return request({
    url: '/sys/login',
    method: 'POST',
    data
  })
}

/**
 * @description: 获取用户资料
 * @param {*}
 * @return {*}
 */
export function getProfile () {
  return request({
    url: '/sys/profile',
    method: 'post'
  })
}
